package de.recipeminer.models.processing;

import de.recipeminer.crawling.chefkoch.ChefkochJsonRecipe;

public enum ProcessingPhase {
    RAW(ChefkochJsonRecipe.class),
    EXTRACTED(),
    PREPROCESSED(),
    ANALYSED();

    protected Class[] possibleClasses;

    ProcessingPhase(Class... possibleClasses) {
        this.possibleClasses = possibleClasses;
    }

    /**
     * Returns possible types of artifacts that are a result of this processing phase.
     *
     * @return array of possible result types
     */
    public Class[] getClasses() {
        return possibleClasses;
    }
}
